<?php 
function jsecho($data,$tf=true){
	$backdata = array('error'=>$tf,'msg'=>$data);
	echo json_encode($backdata);
}

$act = isset($_GET['act'])?trim($_GET['act']):'index';

if($act=='index'){
	$backdata = array('status'=>0,'url'=>"#");
	//$backdata = array('status'=>1,'url'=>'http://www.huanle00.com');
	jsecho($backdata);
}
/*if($act == 'url'){
	$backdata = array('status'=>1,'url'=>'https://jingyan.baidu.com/article/e4511cf34fa9ce2b845eaf37.html');
	jsecho($backdata);
}*/
